package com.qdxwx.data.mapper.teacher;

import com.qdxwx.common.page.PageRequest;
import com.qdxwx.models.teacher.TeacherApply;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 合作教师dao层接口
 * Qdx NetSchool Platform
 * @author qdxwx
 * @updateTime 2022/5/25
 * @description
 */
@Repository
public interface TeacherApplyMapper {

    int insertTeacherApply(TeacherApply teacherApply);

    int deleteById(int tcId);

    int updateTeacherApply(TeacherApply teacherApply);

    TeacherApply selectById(int id);

    List<TeacherApply> selectList(@Param("e") TeacherApply teacherApply, @Param("page") PageRequest page);

    int selectCount(@Param("e") TeacherApply teacherApply);

}
